import { defineComponent } from "vue";
import { IotStore } from "@/stores/modules/iot";
export default defineComponent({
	emits: [],
	setup() {
		const iotStore = IotStore();
		return () => {
			return (
				<div
					onClick={() => iotStore.changeDetailSize()}
					class={`toggle-detail-size iconfont ${iotStore.isMaxDetail ? "iconchevrons-down" : "iconchevrons-up"}`}
					title={`${iotStore.isMaxDetail ? "收起" : "展开"}`}
				></div>
			);
		};
	}
});
